Menu colors
authorRaymond Penners <pennersr@src.gnome.org>
Mon, 11 Aug 2003 19:55:17 +0000 (19:55 +0000)
committerRaymond Penners <pennersr@src.gnome.org>
Mon, 11 Aug 2003 19:55:17 +0000 (19:55 +0000)
modules/engines/ms-windows/ChangeLog.old
modules/engines/ms-windows/wimp_style.c

index 15189911169a244d95efc30dce99e9b709c9182a..2d49d0e797c25593b5818c1f6455180697c76df6 100755 (executable)
@@ -1,3 +1,12 @@
+2003-08-11  Raymond Penners <raymond@dotsphinx.com>\r
+\r
+       * src/wimp_style.c: The menu background color now follows XP's\r
+       color scheme.\r
+\r
+2003-08-07  Raymond Penners <raymond@dotsphinx.com>\r
+\r
+       * === Released 0.2.0 ===\r
+\r
 2003-08-06  Raymond Penners <raymond@dotsphinx.com>\r
 \r
        * src/*.c: Added XP theming support for progress bars.\r
index 996619553b7f6923b18084fe78a4153952dc9494..a36c070a241363f89886537b44eb0306b9927af1 100755 (executable)
@@ -255,12 +255,14 @@ setup_system_colors(GtkStyle *style)
       style->text_aa[i].blue = (style->text[i].blue + style->base[i].blue) / 2;
     }
   
-  // Enable prelighting for menus.
+  // Enable coloring for menus.
   sprintf(buf, "style \"wimp-menu\"\n"
           "{fg[PRELIGHT] = { %d, %d, %d }\n"
           "bg[PRELIGHT] = { %d, %d, %d }\n"
           "text[PRELIGHT] = { %d, %d, %d }\n"
           "base[PRELIGHT] = { %d, %d, %d }\n"
+          "fg[NORMAL] = { %d, %d, %d }\n"
+          "bg[NORMAL] = { %d, %d, %d }\n"
           "}widget_class \"*GtkMenu*\" style \"wimp-menu\"\n",
           fg_prelight.red,
           fg_prelight.green,
@@ -273,7 +275,13 @@ setup_system_colors(GtkStyle *style)
           text_prelight.blue,
           base_prelight.red,
           base_prelight.green,
-          base_prelight.blue);
+          base_prelight.blue,
+          menu_text_color.red,
+          menu_text_color.green,
+          menu_text_color.blue,
+          menu_color.red,
+          menu_color.green,
+          menu_color.blue);
   gtk_rc_parse_string(buf);
 }